package com.yang.myBuilderPattern;

import java.util.ArrayList;
import java.util.List;

public abstract class Car {
	List<String> carProperty = new ArrayList<String>();
	
	public void addCarProperty(String property){
		carProperty.add(property);
	}
	
	public void getCarProperty(){
		for(String str : carProperty){
			System.out.println(str);
		}
	}
}
